    MoneyBox Custom Control

The Contents lists Help topics available for MoneyBox.  Use the scroll bar to see entries not currently visible in the Help window.

To enable context-sensitive help from within the development environment, make sure the MONEYBOX.HLP file resides somewhere within your PATH environment variable.

MoneyBox Description

Highlights

Installation

Properties, Events & Methods

Standard Properties

Special Properties

Copyrights & Misc. Information

Copyrights

LICENSE AGREEMENT

How To Order

Order Form

Technical Support


    Highlights

The MoneyBox is a Custom Control designed to facilitate obtaining and formatting currency or numeric data. MoneyBox features an interface similar to a textbox, differing in that characters are entered in a right-to-left fashion automatically.  The control only accepts numeric or related characters and can sound a bell if alphabetic characters are encountered during data entry. A developer can limit the number of characters that are allowed in the MoneyBox as well as format the data via a VB-compliant format property. The developer can also specify a negative color value. This NegativeColor property causes the text to be diplayed in a different color when the contents of the control becomes less than zero. The MoneyBox also has a NumericText property, which returns the unformatted contents of the control. The MoneyBox can also be used as bound data control. Overall, the MoneyBox was designed to make obtaining currency or numeric data easier and less cumbersome than was possible with some of the more complicated controls that exist to date.

Note: As of the release of MoneyBox 1.78, there is no support for international currencies.(i.e. as specified in the WIN.INI file) This, however, has been a suggested and is under consideration for subsequent releases.


      Installation

Disk Contents

File Installation


    Disk Contents

The MoneyBox distribution disk contains the following files (demo versions may contain fewer or additional components). For electronically distributed versions, the MoneyBox components will  be compressed into a single file:

File Name	Description

MONEYBOX.VBX	The custom control file.

MONEYBOX.LIC	This file, which has to reside in the \WINDOWS or \WINDOWS\SYSTEM directory, contains license information. It is needed to compile your MoneyBox application to an EXE file. If the license file cannot be found or is corrupted, the control is loaded in demonstration mode. NOTE: This file is not shipped with the shareware version of the control.

MONEYBOX.HLP	On-line help for MoneyBox.

PROJECT1.MAK	Sample project file.

FORM1.FRM	Sample form files.

LICENSE.WRI	License agreement in Windows Write format.

README.WRI	Additional information in Windows Write format.

ORDER.WRI	Order form in Windows Write format.

You are not allowed to distribute the license information file MONEYBOX.LIC. Distribution of the control file is free of charge.


    File Installation

The custom control files MONEYBOX.VBX and MONEYBOX.LIC should be copied to your \WINDOWS or \WINDOWS\SYSTEM directory to allow access for compiled programs. Although the MONEYBOX.VBX does not have to reside in the \WINDOWS or \WINDOWS\SYSTEM directory, the MONEYBOX.LIC must absolutely be placed there in order to gain access to fully registered functionality. If your version is shareware, disregard references to the .LIC file.


    Standard Properties

See Visual Basic Help for a description of each of  these standard properties.

BACKCOLOR DATACHANGED DATAFIELD DATASOURCE DRAGICON DRAGMODE ENABLED FONTBOLD FONTITALIC FONTNAME FONTSIZE	FONTSTRIKE FONTUNDER FORECOLOR HEIGHT HELPCONTEXTID HWND INDEX LEFT LINKITEM LINKMODE LINKTOPIC	LINKTIMEOUT MOUSEPOINTER NAME PARENT TABINDEX TABSTOP TAG TEXT TOP VISIBLE WIDTH


    Special Properties

Click on a property for a description of its function.

Beep

Border

Format

MaxChars

NegativeColor

NumericText


Copyrights
Copyright © 1995 Richards Software & Consulting.  All rights reserved.

This software product is copyrighted, and all rights are reserved by Richards Software & Consulting. You are licensed to use this software on a restricted number of computers. You may copy the software to facilitate your use of it on as many computers as there are licensed users specified in the MONEYBOX.LIC file. Making copies for any other purpose violates US and international copyright laws.


LICENSE  AGREEMENT

MoneyBox Custom Control

By using this product, you are agreeing to be bound by the following agreement:

COPYRIGHT:

This software product is copyrighted, and all rights are reserved by Richards Software & Consulting. You are licensed to use this software on a restricted number of computers. You may copy the software to facilitate your use of it on as many computers as there are licensed users specified in the MONEYBOX.LIC file. Making copies for any other purpose violates US and international copyright laws.

DISCLAIMER:

This software is sold AS IS without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. Richards Software & Consulting assumes no liability for any alleged or actual damages arising from the use of this software. (Some states do not allow the exclusion of implied warranties, so the exclusion may not apply to you.)

MONEYBOX.VBX:

You have a royalty-free right to reproduce and distribute the control file MONEYBOX.VBX with any application that you develop and distribute.

MONEYBOX.LIC:

The MONEYBOX.LIC file allows you to design and compile your applications with the MONEYBOX custom control. You are not allowed to distribute the MONEYBOX.LIC file with any application that you develop and distribute.


Order Form
     Click here to print Order Form.

=============================================================

           Richards Software & Consulting Order Form

=============================================================

Date:        _______________

Name:        ________________________________________________

Address:     ________________________________________________

City/St/Zip: ________________________________________________

Country:     ________________________________________________

Phone:       (night)_________________  (day)_________________

Disk Format: 5.25" floppy ______    3.5" micro-floppy _______

MoneyBox Custom Control Ver. 1.78  _______Copies  @  $10.00

Postage (U.S. only)                         ------->  $2.50

Overseas postage (outside of North America) ------->  $5.00

                                             Total:__________

=============================================================

                    PAYMENT OPTIONS

=============================================================

1. Personal or corporate checks drawn on a US bank are the

   preferred method of payment.

2. If you are ordering from a country other than the US,

   please DO NOT send checks drawn on non-US banks.  Use a

   cashier's check or international money order valued in "US

   DOLLARS".

=============================================================

                         SHIPPING

=============================================================

All orders are shipped within 1 week after receipt, via First

Class mail.  Overseas orders are customs-tagged and shipped

Air Mail.

If you have a special need or an urgent deadline, please E-Mail

us to make arrangements -- we'll be glad to help.  For about

$10 additional postage we can ship via next-day courier.

=============================================================


    Beep Property

Description

Specifies a beep to ring when a invalid key is pressed..

Usage

[form.]MoneyBox1.Beep  = boolean

Remarks

When set to TRUE, this property causes a beep to sound when a non-numeric key is pressed.

Data Type

Integer


    NumericText Property

Description

Returns an unformatted string to facilitate use in calculations.

Usage

[form.]MoneyBox1.NumericText

Remarks

NumericText returns the numeric and related characters  to an unformatted string.

This property is read-only.

Example:

Displayed in a MoneyBox is  $ 25,392.31

MoneyBox1.NumericText  returns  25392.31

SalesPrice = Val(MoneyBox1.NumericText)

Data Type

String


    Format Property

Description

Specifies the format for displaying numbers.

Usage

[form.]MoneyBox1.Format  = setting$

Remarks

Format specifies the format that you want the data displayed in the MoneyBox to take on when it loses the input focus. Use in compliance with the Visual Basic Format functions conventions.

The following is some sample formats and how the MoneyBox Displays the values.

Format Property*	Positive 6	Negative 6	Decimal .6
Null String	6	-6	.6
0	6	-6	1
#,##0;(#,##0)	6	(6)	1
0.00	6.00	-6.00	0.60
$#,##0.00	$6.00	-$6.00	$0.60
$#,##0.00;($#,##0.00)	$6.00	($6.00)	$0.60

*Note: You can use any VB compliant format.

Data Type

String


    MaxChars Property

Description

Sets or returns the maximum Number of Characters of the MoneyBox control.

Usage

[form.]MoneyBox1.MaxChars  = setting%

Remarks

The MoneyBox field can have a maximum of 100 characters (the valid range for this property is 1 to 100). A 0 value will allow up to 100 characters, including literal characters in the Format Property.  Warning: If the formatted value of the control exceeds the maximum allowable characters, the least-most signifigcant digits will be truncated. Be careful!

Data Type

Integer


    Border Property

Description

Determines if a border will be displayed..

Usage

[form.]MoneyBox1.Border  = boolean

Remarks

Setting this property to True will cause a border to be displayed.

This property is read-only at runtime.

Data Type

Integer


    Technical Support

Technical support may be obtained by sending and E-Mail message to:

John B. Richards on CompuServe @ 72262,1315

Stephen E. Smothers on CompuServe @ 74014,3426

Please Include your Name, Phone Number, a brief description of your problem and (if applicable) a copy of the code that contains the error.


    How to order MoneyBox

      CompuServe:

MoneyBox is available through the SWREG forum. The ID Number is 3857.

The current version will be shipped to you via E-Mail.

The price for the full version is only $ 10.00 when registering via SWREG

      By Mail:

MoneyBox may be registered by sending a check or money order to:

Richards Software & Consulting

441 Bowden Street

Brundidge, Alabama 36010

The price when ordering by mail is subject to the price listed in the Orderform.


    NegativeColor Property

Description

Sets the color to be displayed when the numeric value is less than zero.

Usage

[form.]MoneyBox1.NegativeColor  = color

Remarks

When the numeric value of the text is less than zero all of the characters in the control will be displayed in the color set by this property.

Data Type

Long Integer